<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?=$title?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="editplus" />
<meta name="author" content="Midnight Studio" />
<style type="text/css">
<!--
body { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 12px; margin: 0px; padding: 0px; color: #666; position: relative; background: #EAEAEA; }

input{
    vertical-align: middle;
}

img{
    border-style: none;
    margin: 0px;
    padding: 0px;
}

.txt {
    padding: 2px 4px;
    font-size: 13px;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    height: 18px;
    border: 1px solid #AAA;

    /* Webkit */
    -webkit-border-radius: 3px;

    /* Firefox */
    -moz-border-radius:3px;
}

.tw{
    margin: auto;
    width: 200px;
}

#body {
    background-image: url(<?=$tplPath?>img/login_bg.png);
    background-repeat: no-repeat;
    background-position: left top;
    height: 318px;
    width: 299px;
    display: block;
    clear: both;
    overflow: hidden;
    margin: 10% auto;
}

#header{ height: 92px; display: block; clear: both; margin: 12px 11px 0px; }

#form{ margin:0px auto 21px; width: 210px; display: block; overflow: hidden; }

#form .re{
    margin-top: 15px;
    margin-bottom: 15px;
    display: block;
    line-height: 20px;
}

#form .re label{
    display: block;
}

#form .submit{
    background-image: url(<?=$tplPath?>img/admin_input.gif);
    background-repeat: no-repeat;
    background-position: 6px 94px;
    float: right;
    height: 25px;
    width: 54px;
    clear: right;
    display: block;
    margin-top: -40px;
}

/* 隐藏调试信息 */
.think_run_time,#think_page_trace{display:none;}
-->
</style>
<script type="text/javascript" language="javascript">
/* 页面加载完毕后焦点转移至用户名输入框 */
window.onload = function () {
    document.getElementById('username').focus();
}
</script>
</head>

<body>
<div id="body">
<!-- 点击logo刷新本页 -->
<a href="<?=U('Public/login')?>" title="<?=$title?>" id="header"></a>

<!-- 登录表单 -->
<div id="form">
    <form method="post">
        <div class="re">
            <label for="username">用户名</label>
            <input type="text" class="txt tw" name="username" id="username" />
        </div>

        <div class="re">
            <label for="password">密 码</label>
            <input type="password" class="txt tw" name="password" id="password" />
        </div>

        <div class="re">
            <label for="verify">验证码</label>
            <input name="verify" type="text" class="txt" id="verify" size="8" /> <img src="<?=U('Public/verify')?>" border="0" align="absmiddle" />
        </div>

        <div class="re">
            <input type="image" class="submit" src="<?=$tplPath?>img/form_submit.gif" />
        </div>
    </form>
</div>

</div>
</body>
</html>